package org.stvd.common.dto;

import java.util.Date;

import javax.persistence.Transient;

import org.springframework.format.annotation.DateTimeFormat;
import org.stvd.core.annotation.serializer.DateTimeSerializer;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;

/**
 * @Title: AuditDTO
 * @Description 审核DTO
 * @author houzx
 * @date 2020年10月3日
 */
public class AuditDTO{

    /**
     * 审核用户ID
     */
    @Transient
    private String auditUser = "";
    
    /**
     * 审核用户姓名
     */
    @Transient
    private String auditUserName = "";
    
    /**
     * 审核状态
     */
    @Transient
    private String auditStatus = "";
    /**
     * 审核意见
     */
    @Transient
    private String auditContent = "";
    
    /**
     * 审核时间
     */
    @Transient
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @JsonSerialize(using = DateTimeSerializer.class)
    private Date auditTime = null;

    public String getAuditUser() {
        return auditUser;
    }

    public void setAuditUser(String auditUser) {
        this.auditUser = auditUser;
    }

    public String getAuditUserName() {
        return auditUserName;
    }

    public void setAuditUserName(String auditUserName) {
        this.auditUserName = auditUserName;
    }

    public String getAuditStatus() {
        return auditStatus;
    }

    public void setAuditStatus(String auditStatus) {
        this.auditStatus = auditStatus;
    }

    public String getAuditContent() {
        return auditContent;
    }

    public void setAuditContent(String auditContent) {
        this.auditContent = auditContent;
    }

    public Date getAuditTime() {
        return auditTime;
    }

    public void setAuditTime(Date auditTime) {
        this.auditTime = auditTime;
    }
    
}
